package com.hsh.erp.controller;

import com.hsh.erp.domain.entity.Express;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;


@RestController
@RequestMapping("/test")
@Tag(name = "测试", description = "测试")
public class TestController {

    @GetMapping("/test")
    @Operation(summary = "测试")
    public String test(Express express) {
        return new Date().toString();

    }
}
